package com.ruoyi.pay.service;

import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.pay.domain.PayCoinCash;
import com.ruoyi.pay.domain.vo.PayCoinUserVO;
import com.ruoyi.wx.domain.WxPayReturnInfo;

/**
 * 提现明细Service接口
 * 
 * @author ruoyi
 * @date 2022-09-26
 */
public interface IPayCoinCashService extends IService<PayCoinCash>
{
    /**
     * 查询提现明细
     * 
     * @param id 提现明细主键
     * @return 提现明细
     */
    public PayCoinCash selectPayCoinCashById(String id);

    /**
     * 查询提现明细列表
     * 
     * @param payCoinCash 提现明细
     * @return 提现明细集合
     */
    public List<PayCoinCash> selectPayCoinCashList(PayCoinCash payCoinCash);

    /**
     * 修改提现明细
     * 
     * @param payCoinCash 提现明细
     * @return 结果
     */
    public int updatePayCoinCash(PayCoinCash payCoinCash);

    /**
     * 批量删除提现明细
     * 
     * @param ids 需要删除的提现明细主键集合
     * @return 结果
     */
    public int deletePayCoinCashByIds(String[] ids);

    /**
     * 删除提现明细信息
     * 
     * @param id 提现明细主键
     * @return 结果
     */
    public int deletePayCoinCashById(String id);

	public Long getCashByUserId(Long userId);

	public TableDataInfo getPageList(PayCoinCash payCoinCash);

	public WxPayReturnInfo addHonb(PayCoinCash payCoinCash);

	public WxPayReturnInfo addMoney(PayCoinCash payCoinCash, String appName);

	public TableDataInfo getCashPageList(PayCoinCash payCoinCash);

	public TableDataInfo getMyCoinCashList(PayCoinUserVO payCoinUser);

	public Integer getMyCashMoney(PayCoinUserVO payCoinUser);
}
